<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表单</title>
    <link rel="stylesheet" href="../css/bootstrap.min.css">
</head>
<body>
<form action="" class="form-inline">
    <div class="form-group has-success">
        <label class="control-label" for="name">姓名</label>
        <input id="name" type="text" class="form-control" placeholder="姓名">
    </div>
    <div class="form-group has-warning">
        <label class="control-label">性别</label>
        <select class="form-control" name="" id="">
            <option value="">男</option>
            <option value="">女</option>
        </select>
    </div>
    <div class="form-group has-error">
        <label class="control-label">建议</label>
        <textarea  class="form-control" cols="30" rows="10"></textarea>
    </div>
</form>

</body>
</html>